<%--
  Created by IntelliJ IDEA.
  User: han tao
  Date: 2023/4/20
  Time: 14:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>奶茶的添加</title>
</head>
<body>
    <h3 style="text-align: center;">添加奶茶信息</h3>
    <form action="/admin" method="post">
        <input type="hidden" name="action" value="addTea">
        <div class="form-group">
            <label for="tname">奶茶</label>
            <input type="text" class="form-control" id="tname" name="tname" placeholder="请输入奶茶名称">
        </div>
        <div class="form-group">
            <label for="price">价格</label>
            <input type="text" class="form-control" id="price" name="price" placeholder="请输入价格">
        </div>
        <div class="form-group">
            <label >种类</label>
            <input type="radio" name="genre" value="超人气奶茶" checked="checked"/>超人气奶茶
            <input type="radio" name="genre" value="现磨咖啡"/>现磨咖啡
            <input type="radio" name="genre" value="清爽喝不腻"/>清爽喝不腻
            <input type="radio" name="genre" value="爆料家族"/>爆料家族
            <input type="radio" name="genre" value="超级大杯茶"/>超级大杯茶
            <input type="radio" name="genre" value="失灵鲜果茶"/>失灵鲜果茶
            <input type="radio" name="genre" value="鲜萃原叶茶"/>鲜萃原叶茶
        </div>
        <div class="form-group">
            <label>图片</label>
            <input type="radio" name="img_path" value="static/img/2.jpg" checked="checked"/>热饮
            <input type="radio" name="img_path" value="static/img/10.jpg"/>咖啡
            <input type="radio" name="img_path" value="static/img/3.jpg"/>冷饮
            <input type="radio" name="img_path" value="static/img/7.jpg"/>超大杯
        </div>
        <div class="form-group" style="text-align: center">
            <input class="btn btn-primary" type="submit" value="提交" />
            <input class="btn btn-default" type="reset" value="重置" />
            <input class="btn btn-default" type="button" value="返回" />
        </div>
    </form>
    </div>
</body>
</html>
